package com.atguigu.gulimall.member.controller;

import om.atguigu.gulimall.common.utils.R;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

@RestController
@RequestMapping("member/test")
public class MemberController {

    @RequestMapping("/list")
    public R list(){
    List list = new ArrayList<>();
    list.add("aaaa");
    list.add("vvv");
    list.add("ddddd");
    list.add("cccc");

        return R.ok().put("page", list);
    }
}
